package com.kingdee.hackson.dto.lc;

import com.kingdee.hackson.entity.Position;

import java.util.List;

public class Response {
    private long total;
    private int size;
    private List<Position> rows;
    private String error;

    public Response(String error) {
        this.error = error;
    }

    public Response(long total, int size, List<Position> rows) {
        this.total = total;
        this.size = size;
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<Position> getRows() {
        return rows;
    }

    public void setRows(List<Position> rows) {
        this.rows = rows;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
